package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallMetaHolidayDao;
import com.appkubes.mall.core.entity.MallMetaHoliday;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallMetaHolidayService extends AbstractBaseService<BaseMallMetaHolidayDao, MallMetaHoliday> {

    MallMetaHoliday getOneByEntity(MallMetaHoliday entity);

    List<MallMetaHoliday> selectListByEntity(MallMetaHoliday entity);

    IPage<MallMetaHoliday> selectPageByEntity(IPage<MallMetaHoliday> page);
    IPage<MallMetaHoliday> selectPageByEntity(PageVO pageVO);

    IPage<MallMetaHoliday> selectPageByEntity(MallMetaHoliday entity, IPage<MallMetaHoliday> page);
    IPage<MallMetaHoliday> selectPageByEntity(MallMetaHoliday entity, PageVO pageVO);

    IPage<MallMetaHoliday> selectPageByEntity(MallMetaHoliday entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallMetaHoliday entity);
}
